<div id="uploader"  ng-controller="FileUploadController">
    <div class="fileinput-preview">
        <div ng-repeat="file in files"  ng-mouseenter="hover(file)" ng-mouseleave="hover(file)" class="image-container">
            <img class="prew" ng-src="{{file.thumbnailUrl | imgPath}}">
            <span ng-show="file.showRemove" ng-click="remove(file)" class="remove"></span>
        </div>
    </div>
    <div class="fileinput-controls">
        <span class="btn fileinput-button" ng-class="{disabled: uploadDisabled()}">
            <div class="icon" onclick="$('#fileupload').click()"></div>
            <input id="fileupload" type="file" name="files[]">
        </span>
    </div>
</div>